NameToTitle = {
    "Capt": "Officer",
    "Col": "Officer",
    "Major": "Officer",
    "Jonkheer": "Royalty",
    "Don": "Royalty",
    "Sir": "Royalty",
    "Dr": "Officer",
    "Rev": "Officer",
    "the Countess": "Royalty",
    "Dona": "Royalty",
    "Mme": "Mrs",
    "Mlle": "Miss",
    "Ms": "Mrs",
    "Mr": "Mr",
    "Mrs": "Mrs",
    "Miss": "Miss",
    "Master": "Master",
    "Lady": "Royalty"
}

TitleToNo = {
    "Master": 0,
    "Miss": 1,
    "Mr": 2,
    "Mrs": 3,
    "Officer": 4,
    "Royalty": 5
}

SexToNo = {
    "male": 0,
    "female": 1
}